Skip to main content

systemFileSelector

Type

property

Summary

Specifies whether the ask file, answer file, and answer folder commands use the standard file dialog boxes built in to the current operating system, or a built-in file dialog box.

Syntax

set the systemFileSelector to {true | false}

Description

Use the systemFileSelector property to control the appearance of standard file dialogs on Mac OS, OS X, or Windows systems, or to make a cross-platform application use the same file dialog boxes on all platforms instead of using the platform standard.

If the systemFileSelector property is set to true, the operating system's own standard file dialogs are used for selecting or naming a file or folder. If the systemFileSelector is false, the application uses its own file dialog box|file dialog boxes.

The setting of this property affects all file dialog boxes used in LiveCode, including dialogs displayed by the ask file, answer file, and answer folder commands, as well as dialog box|dialog boxes displayed by menu items such as "Save" and "Open Stack".

The setting of this property has no effect on Unix systems, where the application's built-in dialog box is always used even if the systemFileSelector is set to true.

Examples

set the systemFileSelector to false

command: ask file, answer file, answer folder

function: platform

glossary: application, property, dialog box, command, platform, Windows, cross-platform, OS X, appearance, menu item, file dialog box, Mac OS, folder

keyword: file

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?